# class Solution {
#     public int getSum(int a, int b) {
#         while(b != 0){
#             int tmp = a ^ b;
#             b = (a & b) << 1;
#             a = tmp;
#         }
#         return a;
#     }
# }
# 用java的方法比较好